package com.example.checkctf.Interface;

import com.example.baselibrary.Bean.CheckResultBean;
import com.example.baselibrary.Bean.CheckTicketBean;
import com.example.baselibrary.Bean.Movie;
import com.example.baselibrary.Bean.PickFaceBean;

import org.json.JSONObject;

import io.reactivex.Observable;
import retrofit2.http.Body;
import retrofit2.http.Field;
import retrofit2.http.FormUrlEncoded;
import retrofit2.http.GET;
import retrofit2.http.Header;
import retrofit2.http.POST;
import retrofit2.http.Query;

public interface ApiService {

    @GET("top250")
    Observable<Movie> getTopMovie(@Query("start") int start, @Query("count") int count);

//    //检票软件
//    @POST("/jsonrequest/v1_0/checkFaceTicketInterface/checkTicket.json")
//    Observable<CheckResultBean> checkTicketJson(@Body CheckTicketBean checkTicketBean);
    //检票软件

    @POST("/Base/jsonrequest/v1_0/checkFaceTicketInterface/checkTicket.json")
    Observable<CheckResultBean> checkTicketJson(@Body CheckTicketBean checkTicketBean);

    //采集人脸
    @POST("/jsonrequest/v1_0/casFaceInterface/faceDataCollection.json")
    Observable<CheckResultBean> pickFaceJson(@Body PickFaceBean pickFaceBean);

}
